package cn.zzuisa.bluebox.config.netty.server;

import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;

/**
 * @author Ao
 * @date 2020-01-27 03:08
 */
public class test {
    public static void main(String[] args) {
        String ne = "token=45529F9BABB02787@at+recv=-40,24,15:023001000000000000000409369A75at+recv=-39,24,15:023001000000000000000409369A73at+recv=-37,24,15:023001000000000000000409369A76";
        ne= ne.split("@")[1];

        List<String> s = new ArrayList<String>(Arrays.asList(ne.split(":")));
        s.remove(0);
        List<String> _ns = new ArrayList<String>();
        s.forEach(item ->{
            _ns.add(item.split("at+recv=")[0]);
            System.err.println(item.split("at")[0]);
        });
        _ns.forEach(q->{
            System.out.println("q:"+q);
        });


    }
}
